package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Classroom;
import cn.wolfcode.crm.query.ClassroomQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClassroomService {
    void deleteByPrimaryKey(Long id);

    void saveOrUpdate(Classroom entity);

    Classroom selectByPrimaryKey(Long id);

    List<Classroom> selectAll();

    PageResult query(ClassroomQueryObject qo);

    void changState(Long id);
}
